package cn.jetpiece.cloud.system.dp.api.biz.model.result;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 子系统信息表信息
 *
 * @author jetpiece
 * @since 2023-05-24
 */
@Data
@ApiModel
public class DpTSystemResult implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 系统id
     */
    @Excel(name = "系统id", width = 15)
    @JSONField(serializeUsing = ToStringSerializer.class)
    @ApiModelProperty(value = "系统id")
    private Long systemId;

    /**
     * 系统名称
     */
    @Excel(name = "系统名称", width = 15)
    @ApiModelProperty(value = "系统名称")
    private String name;

    /**
     * 访问前缀
     */
    @Excel(name = "访问前缀", width = 15)
    @ApiModelProperty(value = "访问前缀")
    private String systemUrl;

    /**
     * createUser
     */
    @Excel(name = "createUser", width = 15)
    @JSONField(serializeUsing = ToStringSerializer.class)
    @ApiModelProperty(value = "createUser")
    private Long createUser;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * updateUser
     */
    @Excel(name = "updateUser", width = 15)
    @JSONField(serializeUsing = ToStringSerializer.class)
    @ApiModelProperty(value = "updateUser")
    private Long updateUser;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    /**
     * 数据状态(0:删除,1:正常,2:保留历史)
     */
    @Excel(name = "数据状态(0:删除,1:正常,2:保留历史)", width = 15)
    @ApiModelProperty(value = "数据状态(0:删除,1:正常,2:保留历史)")
    private Integer dataStatus;
}
